Test Questions (Early)

Where is the hidden (set in configuration settings) Sidebar Page located?:

We normally have a full Table of Contents here with all the html for the book following, in one long page. Then the Left Sidebar has the 4 Books Navigation and OpenCPN User Manual expanded with all the next level pages showing. http://opencpn.org/ocpn/opencpn_manual

Questions

Sidebar indexmenu>:#2\js

Sidebar indexmenu>:#2|js navbar msort

Sidebar %%indexmenu_n>18%%

{{indexmenu_n>18}}

Book Navigation

User Manual Pages

Book Navigation - left column

  1. Use the default Template or other template that supports a “sidebar” page
  2. Make a “sidebar” page just under the namespace (or book).
  3. Insert the Indexmenu into the sidebar page.
  4. Everything entered into the sidebar page is displayed in the left column.
  5. Set the order of pages with msort[#meta] see http://zigi.cc.fmph.uniba.sk/dokuwiki/wiki/indexmenu
  6. In Sidebar put “indexmenu>:opencpn:opencpn_user_manual#5|navbar context msort nons”
  7. Upper left corner put “indexmenu_n>12” (in double brackets) of each page, change number for position.

Sort pages by a custom metadata information. Without the optional meta parameter, it'll be used the custom sorting number specified with the syntax (read below for more infos). meta should refer to the data structure (Array values are managed throught the “:“ separator, for example: „msort#date:modified).

In the default dokuwiki template you set the sidebar page(s)

in the config options:

https://www.dokuwiki.org/config:sidebar.

You can hide the sidebar page itself in the indexmenu options, which gives you a choice of which pages to hide, using a regular expression. In my case, I have the sidebar page set to :wiki:sidebar. To hide it I use a simple regex: /sidebar/.

Indexmenu is fairly complex in its offering of options, so you can experiment and get what you find it an ideal

https://www.dokuwiki.org/config Headpage method: the page from which retrieve the title and link of a namespace. Can be any of this value:

  The global start page.
  A page with the namespace name and that is inside it.
  A page with the namespace name and that is at its same level.
  A custom name page.
  A comma separated list of page names.